package barbershop.com.service;

import barbershop.com.entity.ServiceType;
import barbershop.com.entity.Services;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ServicesService {
    Services insert(Services record);
    Boolean delete(Services record);
    Services update(Services record);
    Services find(Services record);
    List<Services> findAll();

    List<Services> findByType(Integer serviceTypeId);
    Page<Services> getPage(Integer page, Integer size);
//    Page<Services> getPageByType(Integer page, Integer size);
}
